$main: #fec018;
$shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
// background-image: linear-gradient(-60deg, #ff5858 0%, #f09819 100%);
$border: 1px solid rgba(0, 0, 0, 0.1);
$search_list: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
$search_list_color: #fec018;
// 基础配置
body {
  background-color: rgba(0, 0, 0, 0.03);
  ul {
    padding: 0;
    list-style: none;
  }
  @media (max-width: 576px) {
    #topbar {
      box-shadow: none;
    }
  }
}

#big_title {
  margin-bottom: 2rem !important;
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
  border-bottom: $border;
  padding-bottom: 1rem;
  .title {
    font-size: 1.5rem;
    span {
      margin-left: 0.5rem;
    }
  }
}

#search_list {
  .price_box {
    background-image: $search_list;
    border-color: $search_list_color;
  }
}

#noFound {
  display: none;
  padding-left: 5px;
  text-align: center;
  margin: 5rem 0;
  font-weight: bold;
  .icon{
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.6);
  }
  .title{
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.5rem;
    span{
      font-size: 1.1rem;
      font-weight: 500 !important;
    }
  }
}

.item_list {
  .row {
    padding: 0 10px;
  }
  .item {
    padding: 0 5px;
  }
  .item_innerbox {
    background-color: #fff;
    cursor: pointer;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: $shadow;
    &:hover {
      border-width: 2px;
      border-color: rgba(0, 0, 0, 0.2);
    }
    border-radius: 5px;
    margin-top: 1rem;
    border: $border;
    .img_border {
      img {
        width: 100%;
      }
    }
    .price_box {
      @media (max-width: 400px) {
        .percent {
          font-size: 1rem !important;
        }
        .price {
          .old {
            font-size: 0.7rem !important;
          }
          .now {
            font-size: 1rem !important;
          }
        }
      }
      margin: 5px;
      height: 2.5rem;
      border-radius: 5px;
      border: solid 2px white;
      box-sizing: content-box;
      .percent {
        float: left;
        line-height: 2.5rem;
        width: 40%;
        text-align: center;
        font-size: 1.4rem;
        color: white;
      }
      .price {
        background: white;
        min-width: 60%;
        float: right;
        text-align: center;
        line-height: 2.5rem;
        .old {
          width: 50%;
          font-size: 1rem;
          color: rgba(0, 0, 0, 0.5);
          text-decoration: line-through;
          float: right;
          text-align: left;
        }
        .now {
          width: 50%;
          font-size: 1.4rem;
          float: left;
        }
      }
    }
    .item_title {
      padding: 0 5px;
      height: 3rem;
      @media (max-width: 576px) {
        font-size: 0.9rem;
      }
      a {
        text-align: justify;
        display: block;
        line-height: 1.5rem;
      }
      overflow: hidden;
    }
    .seller {
      font-size: 0.9rem;
      width: 100%;
      line-height: 2rem;
      padding: 5px;
      color: rgba(0, 0, 0, 0.6);
      .seller_name {
        .mdi {
          margin-right: 5px;
        }
        float: left;
      }
      .seller_level {
        float: right;
        span {
          background-color: #24a647;
          padding: 2px 5px;
          color: white;
          border-radius: 5px;
        }
      }
    }
  }
}

#big_title_bottom {
  margin-top: 3rem !important;
  border-top: $border;
  padding-top: 1rem;
  margin: 1rem auto;
  color: rgba(0, 0, 0, 0.4);
  .title {
    font-size: 1.5rem;
    span {
      margin-left: 1rem;
    }
  }
}
